package com.wxzz.elearing.livetelecast.service.openfeign;


import com.wxzz.elearing.livetelecast.service.openfeign.sentinel.ObsApiFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "3002-wxzz-file-model-app",fallback = ObsApiFeignImpl.class)
public interface IObsApiFeign {

    /**
     * 生成活动二维码
     *
     * @param activityId
     * @return
     */
    @RequestMapping(value = "/obs-api/makeActivityImage/{activityId}", method = RequestMethod.POST)
    String makeActivityImage(@PathVariable Long activityId);
}
